/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package panelAdmin;

/**
 *
 * @author DuyDang
 */
public class Item {
    private String idItem;
    private String nameItem;
    private String typeItem;
    private long price;
    private String linkItem;

    public Item(String idItem, String nameItem, String typeItem, long price, String linkItem) {
        this.idItem = idItem;
        this.nameItem = nameItem;
        this.typeItem = typeItem;
        this.price = price;
        this.linkItem = linkItem;
    }

    public void setIdItem(String idItem) {
        this.idItem = idItem;
    }

    public void setNameItem(String nameItem) {
        this.nameItem = nameItem;
    }

    public void setTypeItem(String typeItem) {
        this.typeItem = typeItem;
    }

    public void setPrice(long price) {
        this.price = price;
    }

    public void setLinkItem(String linkItem) {
        this.linkItem = linkItem;
    }

    public String getIdItem() {
        return idItem;
    }

    public String getNameItem() {
        return nameItem;
    }

    public String getTypeItem() {
        return typeItem;
    }

    public long getPrice() {
        return price;
    }

    public String getLinkItem() {
        return linkItem;
    }

    @Override
    public String toString() {
        return "Item{" + "idItem=" + idItem + ", nameItem=" + nameItem + ", typeItem=" + typeItem + ", price=" + price + ", linkItem=" + linkItem + '}';
    }
    

}